import request from "@/utils/request";
// 用户信息
const getUserInfo=()=>request("/user/index", "GET")
// 修改用户信息
const profileUser=(data)=>request("/user/profile","POST",data)
// 修改密码
const getEditPassword=(data)=>request("/user/changepwd","POST",data)
// 修改找回密码手机号
const getEditPhone=(data)=>request("/user/changetel","POST",data)
// 我的收藏
const getMineCollect=(data)=>request("/member/mycollects","GET",data)
export {
    getUserInfo,
    profileUser,
    getEditPassword,
    getEditPhone,
    getMineCollect
}